package org.car.world.wx.api.AbstractFactory.service;

public class FactoryProducer {

	public static AbstractFactory getfactory(String chioce){
		if(chioce.equalsIgnoreCase("SHAPE")){
			return new ShapeFactory();
		}else if(chioce.equalsIgnoreCase("COLOR")){
			return new ColorFactory();
		}
		return null;
	}
	
}
